﻿namespace NuGetCop.MSBuild.Tasks.Contracts
{
    using System;
    using System.Diagnostics.Contracts;
    using NuGetCop.MSBuild.Tasks;

    [ContractClassFor(typeof(INuGetPackageRepositoryFactory))]
    internal abstract class ContractForINuGetPackageRepositoryFactory : INuGetPackageRepositoryFactory
    {
        private ContractForINuGetPackageRepositoryFactory()
        {
        }

        public INuGetPackageRepository Create(string packageConfigFilePath)
        {
            Contract.Requires(string.IsNullOrEmpty(packageConfigFilePath) == false);
            Contract.Ensures(Contract.Result<INuGetPackageRepository>() != null);

            throw new NotImplementedException();
        }
    }
}